﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using W.Common.Enum;

namespace W.Warehouse.Domain.DTO.ReportlossesDto
{
    public class PageReportlosses
    {
        public int tacount { get; set; }
        public int pacount { get; set; }
        public List<ReportlossesInfoDto> List { get; set; }
    }
    public class ReportlossesInfoDto
    {
        public int ReportlossesId { get; set; }
        /// <summary>
        /// 报损单号
        /// </summary>
        public string? ReportlossesNo { get; set; }
        /// <summary>
        /// 报损类型
        /// </summary>
        public string? ReportlossesType { get; set; }
        
        /// <summary>
        /// 单据状态
        /// </summary>
        public AuditStatus? DocumentState { get; set; }
        /// <summary>
        /// 审核原因
        /// </summary>
        public string? ExamineReason { get; set; }
        /// <summary>
        /// 审核人
        /// </summary>
        public string? ExaminePeople { get; set; }
        /// <summary>
        /// 审核时间
        /// </summary>
        public DateTime? ExamineTime { get; set; }
        public int? ProductId { get; set; }
        /// <summary>
        /// 产品编号
        /// </summary>
        public string? ProductNo { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string? ProductName { get; set; }
        
        /// <summary>
        /// 规格
        /// </summary>
        public string? ProductSpec { get; set; }
        /// <summary>
        /// 默认仓库
        /// </summary>
        public int? WarehouseId { get; set; }
        /// <summary>
        /// 默认库位
        /// </summary>
        public int? BinLocationId { get; set; }
        /// <summary>
        /// 批次
        /// </summary>
        public string? Pici { get; set; }
        /// <summary>
        /// 报损数量
        /// </summary>
        public int? ReportNum { get; set; }
        /// <summary>
        /// 仓库名称
        /// </summary>
        public string? WarehouseName { get; set; }
        /// <summary>
        /// 原库位
        /// </summary>
        public string? Wlocator { get; set; }
        /// <summary>
        /// 报损库位
        /// </summary>
        public string? WRepolocator { get; set; }
        /// <summary>
        /// 批次
        /// </summary>
        public string? Batch { get; set; }
    }
}
